package com.ftqh.finance.account;

import com.ftqh.core.jpa.repository.BaseRepository;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * A {@link BaseRepository} for the {@link Account} domain class that provides
 * basic data management capabilities that include paging and sorting results.
 *
 * @author ftqh
 */
public interface AccountRepository extends BaseRepository<Account, Integer> {
    List<Account> findByUserId(@Param("userId") String userId);
}
